package org.tech4j.springboot.starter.ext.configuration;

import org.springframework.context.ApplicationContextAware;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.tech4j.springboot.starter.ext.aware.ExtApplicationContextAware;

/**
 * @program: tech4j
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/4 09:57
 **/
@Configuration
public class SpringExtAutoConfiguration {

    /**
     * Application context aware application context aware.
     *
     * @return ExtApplicationContextAware
     */
    @Bean
    public ApplicationContextAware extApplicationContextAware() {
        return new ExtApplicationContextAware();
    }
}
